<?php
namespace app\controller;

use app\model\Goods;

class Model1
{
    public function index()
    {
        $db=new Goods();
        //$index=$db->getOne();
        $select=$db->select();
        print_r($select->toArray());
    }
}